package org.websocket.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.websocket.constant.MessageEnum;
import org.websocket.constant.MessageType;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@ToString
public class WebSocketBuffer implements Serializable {
    private static final long serialVersionUID = 4153093005674764992L;
    private String pusherId;
    private String obtainId;
    private Object message;
    private Date timestamp = new Date();
    private MessageType messageType;
    private MessageEnum messageEnum;
}
